package com.china08.yxyapi.entity.db.res;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.china08.yxyapi.entity.BaseEntity;

@Entity
@Table(name = "yxy_res_book_contents_knoledges", catalog = "yxy_res")
public class YxyResBookContentsKnoledges extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @Column(name = "book_content_id")
    private String bookContentId;

    @Column(name = "knowledge_id")
    private Integer knowledgeId;

    @Column(name = "order_num", nullable = false)
    private Integer orderNum = 0;

    public String getBookContentId() {
        return bookContentId;
    }

    public void setBookContentId(String bookContentId) {
        this.bookContentId = bookContentId;
    }

    public Integer getKnowledgeId() {
        return knowledgeId;
    }

    public void setKnowledgeId(Integer knowledgeId) {
        this.knowledgeId = knowledgeId;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

}
